﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="OnlineSurvey.ascx.cs"
    Inherits="UserControls_OnlineSurvey" %>
<link href="../Style/sitecss.css" rel="stylesheet" type="text/css" />

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script type="text/javascript" language="javascript">
    function OnNext()
    {
        document.getElementById("div1").style.display = "none";
        document.getElementById("div2").style.display = "block";

        return false;
    }
    
    function OnNext_CallBack(response)
    {

    }
    
    function OnPrev()
    {
        document.getElementById("div1").style.display = "block";
        document.getElementById("div2").style.display = "none";
        
        return false;
    }

</script>

<div id="div1" style="display: block;">
    <table width="203" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td height="27" colspan="3" background="images/UserControls/index_1_03.jpg" class="new"
                style="text-align: left;">
                &nbsp;在线调查
            </td>
        </tr>
        <tr>
            <td width="1" height="184" bgcolor="#6BA5FC">
            </td>
            <td width="201" height="400" valign="top">
                <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                        <td height="4">
                        </td>
                    </tr>
                </table>
                <table width="92%" height="214" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                        <td width="43%" height="179" valign="top" style="text-align: left;">
                            选择网络购物，您最看重的因素是？
                            <br />
                            <br />
                            <asp:DataList ID="dlSelect" runat="server" Width="92%">
                                <ItemTemplate>
                                    <table cellpadding="0" cellspacing="0" border="0">
                                        <tr>
                                            <td width="9%">
                                                <asp:TextBox ID="tbID" runat="server" Visible="false" Text='<%# Eval("ID") %>'></asp:TextBox>
                                                <asp:CheckBox ID="cbSelect" runat="server"></asp:CheckBox>&nbsp;&nbsp;
                                            </td>
                                            <td style="text-align: left;">
                                                <asp:Label ID="lbTitle" runat="server" Text='<%# Eval("Title") %>'></asp:Label>
                                            </td>
                                        </tr>
                                    </table>
                                </ItemTemplate>
                            </asp:DataList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td>
                                        <div align="center">
                                            <asp:ImageButton ID="imgOK" runat="server" ImageUrl="../images/UserControls/tg.jpg"
                                                Width="64" Height="25"  OnClick="imgOK_Click" />
                                                </div>
                                    </td>
                                    <td>
                                        <div align="center">
                                            <img src="images/UserControls/zk.jpg" width="64" height="25" onclick="return OnNext()"  /></div>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
            <td width="1" bgcolor="#6BA5FC">
            </td>
        </tr>
        <tr>
            <td height="1" colspan="3" bgcolor="#6BA5FC">
            </td>
        </tr>
    </table>
     </ContentTemplate>
        </asp:UpdatePanel>
</div>
<div id="div2" style="display: none;">

    <table width="203" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td height="27" colspan="3" background="images/UserControls/index_1_03.jpg" class="new"
                style="text-align: left;">
                &nbsp;在线调查结果
            </td>
        </tr>
        <tr>
            <td width="1" height="184" bgcolor="#6BA5FC">
            </td>
            <td width="201" height="350" valign="top">
                <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                        <td>
                        <asp:DataList ID="dl" runat="server" Width="92%">
                                <ItemTemplate>
                                    <table cellpadding="0" cellspacing="0" border="0">
                                        <tr>                                            
                                            <td style="width:90%;">
                                                <asp:Label ID="lbTitle" runat="server" Text='<%# Eval("Title") %>'></asp:Label>
                                            </td>
                                            <td style="width:10%;">
                                                <asp:Label ID="lbAmount" runat="server" Text='<%# Eval("Amount") %>'></asp:Label>
                                            </td>
                                        </tr>
                                    </table>
                                </ItemTemplate>
                            </asp:DataList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div align="center"> 
                                <asp:Button ID="btnPrev" runat="server" Text="返回" Width="80px" OnClientClick="return OnPrev()" />                               
                                <%--<img src="images/UserControls/zk.jpg" width="64" height="25" onclick="return OnPrev()" />--%></div>
                        </td>
                    </tr>
                </table>
            </td>
            <td width="1" bgcolor="#6BA5FC">
            </td>
        </tr>
        <tr>
            <td height="1" colspan="3" bgcolor="#6BA5FC">
            </td>
        </tr>
    </table>
          </ContentTemplate>
        </asp:UpdatePanel>
</div>
